package com.dsl.dslsuzhou.model.dto.url;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

@Configuration
@Component
public class ZljUrl {

    @Value("${isyscore.serverHost}")
    private String endpointIp;

    /**
     * @return 获取指令集token
     */
    @Bean
    public String getZljToken() {
        return endpointIp + "/api/core/authorization/auth/accessToken";
    }
}
